package com.paypal.android.MEP.a;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RelativeLayout.LayoutParams;
import com.paypal.android.a.g;
import com.paypal.android.a.q;
import com.paypal.android.a.r;
import com.paypal.android.b.h;
import com.paypal.android.b.i;
import com.paypal.android.b.k;
import com.paypal.android.b.m;
import com.paypal.android.b.n;

public final class e extends n
  implements View.OnClickListener, i
{
  String a = "";
  String b = "";
  private Intent c = null;
  private k d;
  private com.paypal.android.MEP.b.e e;

  public e(Context paramContext)
  {
    super(paramContext);
  }

  public e(Context paramContext, Intent paramIntent)
  {
    super(paramContext);
    this.c = paramIntent;
    try
    {
      this.a = this.c.getStringExtra("FATAL_ERROR_ID");
      this.b = this.c.getStringExtra("FATAL_ERROR_MESSAGE");
      this.d.a(this.b);
      return;
    }
    catch (Exception localException)
    {
      this.a = "10001";
      this.b = com.paypal.android.a.j.a("ANDROID_10001");
    }
  }

  protected final void a(Context paramContext)
  {
    super.a(paramContext);
    LinearLayout localLinearLayout1 = com.paypal.android.a.f.a(paramContext, -1, -2);
    localLinearLayout1.setOrientation(1);
    localLinearLayout1.setPadding(5, 5, 5, 15);
    localLinearLayout1.addView(q.b(r.a, paramContext));
    this.e = new com.paypal.android.MEP.b.e(paramContext, this);
    this.e.a(this);
    localLinearLayout1.addView(this.e);
    addView(localLinearLayout1);
    LinearLayout localLinearLayout2 = com.paypal.android.a.f.a(paramContext, -1, -1);
    localLinearLayout2.setBackgroundDrawable(com.paypal.android.a.f.a());
    localLinearLayout2.setPadding(10, 5, 10, 5);
    localLinearLayout2.setOrientation(1);
    localLinearLayout2.addView(new com.paypal.android.b.j(com.paypal.android.a.j.a("ANDROID_error_heading"), paramContext));
    LinearLayout localLinearLayout3 = com.paypal.android.a.f.a(paramContext, -1, -2);
    localLinearLayout3.setOrientation(1);
    localLinearLayout3.setPadding(5, 10, 5, 10);
    this.d = new k(paramContext, m.a);
    this.d.a(com.paypal.android.a.j.a("ANDROID_10001"));
    this.d.setPadding(0, 5, 0, 5);
    this.d.setVisibility(0);
    localLinearLayout3.addView(this.d);
    localLinearLayout2.addView(localLinearLayout3);
    Button localButton = new Button(paramContext);
    localButton.setText(com.paypal.android.a.j.a("ANDROID_ok"));
    localButton.setLayoutParams(new RelativeLayout.LayoutParams(-1, com.paypal.android.a.f.b()));
    localButton.setGravity(1);
    localButton.setBackgroundDrawable(g.a());
    localButton.setTextColor(-16777216);
    localButton.setOnClickListener(new f(this));
    localLinearLayout2.addView(localButton);
    addView(localLinearLayout2);
  }

  public final void a(h paramh, int paramInt)
  {
  }

  public final void d()
  {
  }

  public final void e()
  {
  }

  public final void onClick(View paramView)
  {
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.MEP.a.e
 * JD-Core Version:    0.6.2
 */